package com.atguigu.mapper;

import com.atguigu.bean.idBean;
import com.atguigu.entity.SkuView;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yangchaolove
 * @since 2022-03-04
 */
public interface SkuViewMapper extends BaseMapper<SkuView> {

    Date mostStartDate();

    List<idBean> types();

    Long find(Long id, String date);

    Long sumViewData(Long projectId);

    Long sumViewDataNotoday(Long projectId, String format);
}
